package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile    string `gorm:"type:char(11) not null;comment:'手机号'"`
	Password  string `gorm:"type:char(32) not null;comment:'密码'"`
	Age       int64  `gorm:"type:int(11) not null;comment:'年龄'"`
	Address   string `gorm:"type:varchar(100) not null;comment:'籍贯'"`
	HeadImage string `gorm:"type:varchar(100) not null;comment:'头像'"`
}
